package com.zzt.questionbankquestion.repository;

import com.zzt.questionbankquestion.bean.Course;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface CourseRepository extends PagingAndSortingRepository<Course,Long> , JpaSpecificationExecutor<Course> {
    public Course findByCourseName(String courseName);
}
